Optimal. Leaf size=93 \[ -\frac{c^2 x^{-2 n}}{2 b^3 n}+\frac{c^3 x^{-n}}{b^4 n}-\frac{c^4 \log \left (b+c x^n\right )}{b^5 n}+\frac{c^4 \log (x)}{b^5}+\frac{c x^{-3 n}}{3 b^2 n}-\frac{x^{-4 n}}{4 b n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0538467, antiderivative size = 93, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.13, Rules used = {1584, 266, 44} \[ -\frac{c^2 x^{-2 n}}{2 b^3 n}+\frac{c^3 x^{-n}}{b^4 n}-\frac{c^4 \log \left (b+c x^n\right )}{b^5 n}+\frac{c^4 \log (x)}{b^5}+\frac{c x^{-3 n}}{3 b^2 n}-\frac{x^{-4 n}}{4 b n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1584
Rule 266
Rule 44
Rubi steps
\begin{align*} \int \frac{x^{-1-3 n}}{b x^n+c x^{2 n}} \, dx &=\int \frac{x^{-1-4 n}}{b+c x^n} \, dx\\ &=\frac{\operatorname{Subst}\left (\int \frac{1}{x^5 (b+c x)} \, dx,x,x^n\right )}{n}\\ &=\frac{\operatorname{Subst}\left (\int \left (\frac{1}{b x^5}-\frac{c}{b^2 x^4}+\frac{c^2}{b^3 x^3}-\frac{c^3}{b^4 x^2}+\frac{c^4}{b^5 x}-\frac{c^5}{b^5 (b+c x)}\right ) \, dx,x,x^n\right )}{n}\\ &=-\frac{x^{-4 n}}{4 b n}+\frac{c x^{-3 n}}{3 b^2 n}-\frac{c^2 x^{-2 n}}{2 b^3 n}+\frac{c^3 x^{-n}}{b^4 n}+\frac{c^4 \log (x)}{b^5}-\frac{c^4 \log \left (b+c x^n\right )}{b^5 n}\\ \end{align*}
Mathematica [A] time = 0.106363, size = 75, normalized size = 0.81 \[ -\frac{b x^{-4 n} \left (-4 b^2 c x^n+3 b^3+6 b c^2 x^{2 n}-12 c^3 x^{3 n}\right )+12 c^4 \log \left (b+c x^n\right )-12 c^4 n \log (x)}{12 b^5 n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.026, size = 105, normalized size = 1.1 \begin{align*}{\frac{1}{ \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{4}} \left ({\frac{{c}^{3} \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{3}}{{b}^{4}n}}-{\frac{1}{4\,bn}}+{\frac{c{{\rm e}^{n\ln \left ( x \right ) }}}{3\,{b}^{2}n}}-{\frac{{c}^{2} \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{2}}{2\,{b}^{3}n}}+{\frac{{c}^{4}\ln \left ( x \right ) \left ({{\rm e}^{n\ln \left ( x \right ) }} \right ) ^{4}}{{b}^{5}}} \right ) }-{\frac{{c}^{4}\ln \left ( c{{\rm e}^{n\ln \left ( x \right ) }}+b \right ) }{{b}^{5}n}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.00449, size = 113, normalized size = 1.22 \begin{align*} \frac{c^{4} \log \left (x\right )}{b^{5}} - \frac{c^{4} \log \left (\frac{c x^{n} + b}{c}\right )}{b^{5} n} + \frac{12 \, c^{3} x^{3 \, n} - 6 \, b c^{2} x^{2 \, n} + 4 \, b^{2} c x^{n} - 3 \, b^{3}}{12 \, b^{4} n x^{4 \, n}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.56316, size = 190, normalized size = 2.04 \begin{align*} \frac{12 \, c^{4} n x^{4 \, n} \log \left (x\right ) - 12 \, c^{4} x^{4 \, n} \log \left (c x^{n} + b\right ) + 12 \, b c^{3} x^{3 \, n} - 6 \, b^{2} c^{2} x^{2 \, n} + 4 \, b^{3} c x^{n} - 3 \, b^{4}}{12 \, b^{5} n x^{4 \, n}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{-3 \, n - 1}}{c x^{2 \, n} + b x^{n}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]